<template>

    <slot name="header" :msg="childMessage"></slot>
    <slot name="main"></slot>

</template>

<script>
export default {
    data() {
        return {

            childMessage: "子数据"
        }
    },
}


</script>

<style lang="scss" scoped></style>